package com.woniu.after.client;

import com.woniu.after.client.param.ReturnGoodsParam;
import com.woniu.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(contextId = "returnGoodsManageClient", name = "after")
public interface ReturnGoodsManageClient {
    /**
     * 用户退货
     *
     * @return
     */
    @PostMapping("/userReturnGoods")
    Result userReturnGoods(@RequestBody ReturnGoodsParam returnGoodsParam);
}
